package com.wolf.service.impl;

import com.wolf.pojo.Wl_activity_config;
import com.wolf.repository.Wl_activity_configMapper;
import com.wolf.service.Wl_activity_configService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class Wl_activity_configServiceImpl implements Wl_activity_configService{

    @Resource
    Wl_activity_configMapper wl_activity_configMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return wl_activity_configMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Wl_activity_config record) {
        return wl_activity_configMapper.insert(record);
    }

    @Override
    public int insertSelective(Wl_activity_config record) {
        return wl_activity_configMapper.insertSelective(record);
    }

    @Override
    public Wl_activity_config selectByPrimaryKey(String id) {
        return wl_activity_configMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Wl_activity_config record) {
        return wl_activity_configMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Wl_activity_config record) {
        return wl_activity_configMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Wl_activity_config> getAll() {
        return wl_activity_configMapper.getAll();
    }

    @Override
    public List<Wl_activity_config> getByStatus() {
        return wl_activity_configMapper.getByStatus();
    }

    @Override
    public List<Wl_activity_config> fuzzyQuery(Integer status, String activityname) {
        return wl_activity_configMapper.fuzzyQuery(status,activityname);
    }

    @Override
    public int remove(Integer status, String id) {
        return wl_activity_configMapper.remove(status,id);
    }
}
